Skip to content

update pango-1.49 to 1.54 (plus deps) #3171

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

thomas
Copy link
Collaborator

@thomas thomas commented Sep 20, 2024

Starting with the crashes observed in inkscapes' text widget, pango ('shaping engine' for multi-language text) turned out to be the major suspect. Updating from pango 1.49 to 1.54 is doable (the existing high 1.90 version is apparently a preparation for pango-2.0).

Checking the dependencies, it is required to update libsigc++-3, fontconfig, and cairo too (more about fontconfig at the end of the message). Problems arise when it comes to updating the corresponding C++ bindings.

https://github.com/GNOME/glibmm reads:

" glibmm-2.4 and glibmm-2.68 are different parallel-installable
ABIs. This file describes glibmm-2.68. "

How does this affect the update?

Installed is glibmm-2.66.2-0 (which can be updated to 2.66.7, not urgent), and we see libs like /usr/lib/libgiomm-2.4.so.1.3.0, updating to the latest version (glibmm-2.82.0) would yield libs like libgiomm-2.68.so.1.3.0.
Looking at download.gnome.org/sources, reveals that some older versions of cairomm and pangomm are still maintained until now, these are the ones that work with the 2.4-ABI, whereas the latest and greatest ones would use the 2.68-ABI.

So the C++ bindings used now are cairomm-1.14.5 and pangomm-2.46.4. How to handle the 2.68-ABI shall be decided later (IMHO).

Fontconfig

This update does not try to apply any of the widespread customizations for the config files found in other distros. It may yield to some issues here (corner-cases)?, I have not observed any, but checking is indeed required (Font-issues tend to draw very long trails in discussions and mailboxes).

[pango-crash] https://gitlab.gnome.org/GNOME/pango/-/issues/678

P.S. The Inkscape text issues are gone after the update ...

Starting with the crashes observed in inkscapes' text widget,
pango ('shaping engine' for multi-language text) turned out
to be the major suspect. Updating from pango 1.49 to 1.54 is
doable (the existing high 1.90 version is apparently a
preparation for pango-2.0).

Checking the dependencies, it is required to update libsigc++-3,
fontconfig, and cairo too (more about fontconfig at the end of
the message). Problems arise when it comes to updating the
corresponding C++ bindings.

https://github.com/GNOME/glibmm reads:

" glibmm-2.4 and glibmm-2.68 are different parallel-installable
  ABIs. This file describes glibmm-2.68. "

How does this affect the update?

Installed is glibmm-2.66.2-0 (which can be updated to 2.66.7,
not urgent), and we see libs like /usr/lib/libgiomm-2.4.so.1.3.0,
updating to the latest version (glibmm-2.82.0) would yield libs
like libgiomm-2.68.so.1.3.0.
Looking at download.gnome.org/sources, reveals that _some_ older
versions of cairomm and pangomm are still maintained until now,
these are the ones that work with the 2.4-ABI, whereas the
latest and greatest ones would use the 2.68-ABI.

So the C++ bindings used now are cairomm-1.14.5 and
pangomm-2.46.4. How to handle the 2.68-ABI shall be decided
later (IMHO).

Fontconfig

This update does not try to apply any of the widespread
customizations for the config files found in other distros. It
may yield to some issues here (corner-cases)?, I have not
observed any, but checking is indeed required (Font-issues tend
to draw very long trails in discussions and mailboxes).

[pango-crash] https://gitlab.gnome.org/GNOME/pango/-/issues/678

P.S. The Inkscape text issues are gone after the update ...
@thomas
Copy link
Collaborator Author

thomas commented Sep 20, 2024

To test:

  bee update \
    libsigc++3 fontconfig \
    cairo cairomm \
    pango pangomm

@thomas thomas merged commit f21f062 into master Oct 8, 2024
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant